'use strict'
const { prefixRequest } = require('./request-config')
module.exports = {
    '/supplierlist': {
        target: `${prefixRequest}/supplierlist`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/supplierlist': '' }
    },
    '/supplierdel': {
        target: `${prefixRequest}/supplierdel`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/supplierdel': '' }
    },
    '/suppliersave': {
        target: `${prefixRequest}/suppliersave`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/suppliersave': '' }
    },
    '/supplierdetail': {
        target: `${prefixRequest}/supplierdetail`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/supplierdetail': '' }
    },
    '/getSettleList': {
        target: `${prefixRequest}/getSettleList`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/getSettleList': '' }
    },
    '/getSettleDetail': {
        target: `${prefixRequest}/getSettleDetail`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/getSettleDetail': '' }
    },
    '/supplierstatus': {
        target: `${prefixRequest}/supplierstatus`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/supplierstatus': '' }
    },
    '/goodsIndex': {
        target: `${prefixRequest}/goodsIndex`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/goodsIndex': '' }
    },
    '/goodsGet': {
        target: `${prefixRequest}/goodsGet`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/goodsGet': '' }
    },
    '/goodsAdd': {
        target: `${prefixRequest}/goodsAdd `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/goodsAdd ': '' }
    },
    '/goodsEdit': {
        target: `${prefixRequest}/goodsEdit`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/goodsAdd': '' }
    },
    '/regMoney': {
        target: `${prefixRequest}/regMoney`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regMoney': '' }
    },
    '/getRegMoney': {
        target: `${prefixRequest}`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/getRegMoney ': '' }
    },
    '/regindex': {
        target: `${prefixRequest}`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regindex ': '' }
    },
    '/regsh': {
        target: `${prefixRequest}`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regsh ': '' }
    },
    '/reglists': {
        target: `${prefixRequest}`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/reglists ': '' }
    },
    '/regdetail': {
        target: `${prefixRequest}`,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regdetail ': '' }
    },
    '/regsave': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regsave ': '' }
    },
    '/regeditstatus': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regeditstatus ': '' }
    },
    '/regeditisRest': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regeditisRest ': '' }
    },
    '/regdel': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regdel ': '' }
    },
    '/reggetsetting': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/reggetsetting ': '' }
    },
    '/regsavesetting': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regsavesetting ': '' }
    },
    '/stock': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/stock ': '' }
    },
    '/confirmStock': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/confirmStock ': '' }
    },
    '/stockDetail': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/stockDetail ': '' }
    },
    '/detailConfirmStock': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/detailConfirmStock ': '' }
    },
    '/regApplyTx': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regApplyTx ': '' }
    },
    '/regApplyTxSh': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regApplyTxSh ': '' }
    },
    '/regApplyTxMakeMoney': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regApplyTxMakeMoney ': '' }
    },
    '/regBill': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regBill ': '' }
    },
    '/regBillDetail': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/regBillDetail ': '' }
    },
    '/confirmBill': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/confirmBill ': '' }
    },
    '/statisticsGoods': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/statisticsGoods ': '' }
    },
    '/pageAll': {
        target: `${prefixRequest} `,
        changeOrigin: true,
        secure: false,
        pathRewrite: { '^/pageAll ': '' }
    },
}
